package com.company.modules.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.modules.project.entity.Company;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Xmirror
* @description 针对表【company(公司)】的数据库操作Mapper
* @createDate 2022-02-26 13:25:19
* @Entity generator.domain.Company
*/
@Mapper
public interface CompanyMapper extends BaseMapper<Company> {

    /**
     * 查找所有 Company
     *
     * @return List
     */
    List<Company> selectAllCompany();

    /**
     * 通过 ID 查找 Company
     *
     * @param id ID
     * @return Company
     */
    List<Company> selectCompanyById(Integer id);

}
